package com.oauth.model;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Created by yangjianbo on 2016/7/25.
 */
@Table(name="open_client")
public class OpenClient implements Serializable {

    @Id
    private String clientId;                   //客户端id

    private String clientName;                 //客户端名称

    private String clientSecure;               //秘钥

    private String clientUrl;                   //客户端访问host

    private String clientToken;                 //客户端令牌

    private Integer clientStatus;                //客户端状态

    private String userId;                      //用户id

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getClientSecure() {
        return clientSecure;
    }

    public void setClientSecure(String clientSecure) {
        this.clientSecure = clientSecure;
    }

    public String getClientUrl() {
        return clientUrl;
    }

    public void setClientUrl(String clientUrl) {
        this.clientUrl = clientUrl;
    }

    public String getClientToken() {
        return clientToken;
    }

    public void setClientToken(String clientToken) {
        this.clientToken = clientToken;
    }

    public Integer getClientStatus() {
        return clientStatus;
    }

    public void setClientStatus(Integer clientStatus) {
        this.clientStatus = clientStatus;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
}
